package com.deuwise.system.service.impl;

import com.deuwise.system.service.CommonService;
import org.springframework.stereotype.Component;

import javax.jws.WebService;

/**
 *  WebService接口
 *  name 暴露服务名称
 *  targetNamespace 命名空间
 */
@WebService(serviceName = "CommonService",
        targetNamespace = "http://www.WebService.deuwise.com",
        endpointInterface = "com.deuwise.system.service.CommonService")
@Component
public class CommonServiceImpl implements CommonService {

    @Override
    public String HelloWorld(String name) {
        return "您好，我是 " + name;
    }
}
